package com.java.caiquan;
import com.java.util.firstutil;

public class Computer {
    private String name;
    private int score;

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int  chuquan(){
       int random =  (int)(Math.random() * 3 + 1);
        System.out.println(name + "出的是"+firstutil.chu(random));
        return random;
    }

}
